.loader {
    /* background-color: #000000; */
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.loader .lds-ripple {
    position: absolute;
    display: block;
    width: 64px;
    height: 64px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader .lds-ripple div {
    position: absolute;
    border: 4px solid #FFFFFF;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

.loader.is-loaded {
    opacity: 0;
    visibility: hidden;
    z-index: -99;
}

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

section.slideshow {
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    bottom: 0;
}

.navigation-wrapper {
    position: absolute;
    top: 50%; z-index: 16;
    background-image: url(../images/index/navigation-item-1.png);
    pointer-events: auto;
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transform: translate(-50%, -36%);
    -moz-transform: translate(-50%, -36%);
    -ms-transform: translate(-50%, -36%);
    -o-transform: translate(-50%, -36%);
    transform: translate(-50%, -36%);
}

.navigation-wrapper .navigation-back-right {
    position: absolute;
    top: 50%; right: 0;
    -webkit-transform: translate(50%, -50%);
    -moz-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    -o-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

section.slideshow .navigation {
    display: block;
    width: 400px; height: 400px;
}

section.slideshow .navigation-wrapper.navigation-item-0-active {
    background-image: url(../images/index/navigation-item-1.png);
}
section.slideshow .navigation-wrapper.navigation-item-1-active {
    background-image: url(../images/index/navigation-item-5.png);
}
section.slideshow .navigation-wrapper.navigation-item-2-active {
    background-image: url(../images/index/navigation-item-3.png);
}
section.slideshow .navigation-wrapper.navigation-item-3-active {
    background-image: url(../images/index/navigation-item-4.png);
}
section.slideshow .navigation-wrapper.navigation-item-4-active {
    background-image: url(../images/index/navigation-item-2.png);
}
section.slideshow .navigation::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background-image: url(../images/index/navigation-back-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

section.slideshow .navigation .navigation-item {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    width: 150px; height: 150px;
    padding: 10px; cursor: pointer;
    text-align: center;
    border-radius: 50%;
    pointer-events: auto;
    transition: border 0.6s ease-in-out;
}

section.slideshow .navigation .navigation-item .rotate-holder {
    position: fixed;
    display: block;
    width: 0;
    height: 0;
    left: -9999px;
    top: -9999px;
}

section.slideshow .navigation .navigation-item .background-holder {
    position: absolute; display: block;
    width: 100%; height: 100%;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

section.slideshow .navigation .navigation-item.active {
    pointer-events: none;
}

section.slideshow .navigation .navigation-item.active .background-holder {
    opacity: 1; visibility: visible;
}

section.slideshow .detail {
    position: absolute;
    display: block;
    width: 100%; height: 100%;
    top: 0; right: 0;
    bottom: 0; left: 0;
    z-index: 5;
}

section.slideshow .detail .detail-placeholder { width: 100%; }

section.slideshow .detail .detail-item {
    position: absolute; display: block;
    width: 100%; height: 100%;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0; visibility: hidden;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}

section.slideshow .detail .detail-item .headline {
    color: var(--font-white);
    position: absolute; display: block;
    width: 100%; max-width: calc(100% - 480px);
    top: 52.5%; left: 50%; z-index: 2;
    transform: translate(-48%, 0%);
    overflow: visible; white-space: nowrap;
    box-sizing: border-box;
}

section.slideshow .detail .detail-item .headline .headline-link {
    display: inline-block; pointer-events: auto;
}

section.slideshow .detail .detail-item .headline .letter {
    font-family: "font", "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    color: #FFFFFF;
    font-size: 46px;
    font-kerning: none;
    white-space: nowrap;
    box-sizing: border-box;
}

section.slideshow .detail .detail-item .background {
    position: absolute;
    display: block;
    width: 100%; height: 0;
    padding-bottom: 55.625%;
    top: 0; right: 0;
    bottom: 0; left: 0;
    overflow: visible;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

section.slideshow .detail .detail-item .background::before {
    /* content: ""; */
    background: -moz-linear-gradient(left, black 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(left, black 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, black 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#00000000", GradientType=1);
    position: absolute;
    display: block;
    width: 100%; height: 100%;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2;
}

section.slideshow .detail .detail-item.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1599px) {
    section.slideshow .navigation {
        width: 400px; height: 400px;
    }
    
    section.slideshow .navigation .navigation-item {
        width: 130px; height: 130px;
    }

    section.slideshow .detail .detail-item .headline {
        transform: translate(-45%, 0%);
    }
}

@media (max-width: 1399px) {
    section.slideshow .navigation {
        width: 360px; height: 360px;
    }
    
    section.slideshow .navigation .navigation-item {
        width: 110px; height: 110px;
    }

    section.slideshow .detail .detail-item .headline {
        transform: translate(-48%, 0%);
        top: 54.5%;
    }

    section.slideshow .detail .detail-item .headline .letter { 
        line-height: initial;
        font-size: 36px;
    }

    .navigation-wrapper .navigation-back-right { width: 60px; }

    section.slideshow .detail .detail-item .headlin { top: -50%; }
}

@media screen and (max-width: 992px) {
    section.slideshow .navigation {
        width: 280px;
        height: 280px;
    }

    .navigation-wrapper .navigation-back-right { width: 52px; }

    section.slideshow .navigation .navigation-item {
        width: 90px;
        height: 90px;
    }

    section.slideshow .detail .detail-item .headline {
        max-width: calc(100% - 380px);
    }

    section.slideshow .detail .detail-item .headline .letter { font-size: 30px; }
}

@media screen and (max-width: 767px) {
    section.slideshow .navigation {
        width: 200px;
        height: 200px;
    }

    .navigation-wrapper .navigation-back-right { width: 32px; }

    section.slideshow .navigation .navigation-item {
        width: 72px;
        height: 72px;
    }

    section.slideshow .detail .detail-item .headline {
        transform: translate(-38%, 0%);
    }

    section.slideshow .detail .detail-item .headline {
        max-width: calc(100% - 120px);
    }

    section.slideshow .detail .detail-item .headline .letter { font-size: 26px; }
}

@media screen and (max-width: 576px) {
    section.slideshow .navigation {
        width: 140px;
        height: 140px;
    }

    .navigation-wrapper .navigation-back-right { width: 26px; }

    section.slideshow .navigation .navigation-item {
        width: 50px;
        height: 50px;
    }

    section.slideshow .detail .detail-item .headline .letter { font-size: 20px; }

    section.slideshow .detail .detail-item .headline { transform: translate(-40%, 0%); }
}